package com.wss.domain;

import java.io.Serializable;

/**
 * 帐户
 */
public class Account implements Serializable{

    private Integer id;
    private String username;
    private String password;
    private Integer p_id;
    private Integer oldP_id;
    private String p_name;
    private String p_desc;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getP_id() {
        return p_id;
    }

    public void setP_id(Integer p_id) {
        this.p_id = p_id;
    }

    public Integer getOldP_id() {
        return oldP_id;
    }

    public void setOldP_id(Integer oldP_id) {
        this.oldP_id = oldP_id;
    }

    public String getP_name() {
        return p_name;
    }

    public void setP_name(String p_name) {
        this.p_name = p_name;
    }

    public String getP_desc() {
        return p_desc;
    }

    public void setP_desc(String p_desc) {
        this.p_desc = p_desc;
    }

    @Override
    public String toString() {
        return "Account{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", p_id=" + p_id +
                ", oldP_id=" + oldP_id +
                ", p_name='" + p_name + '\'' +
                ", p_desc='" + p_desc + '\'' +
                '}';
    }
}
